#include<stdio.h>
#include<fcntl.h>
#include<string.h>
#include<unistd.h>
#include<termios.h>
int main()
{
	int fd = -1;
	fd = open("/dev/ttyAMA0",O_RDWR);
	if(fd < 0){
		printf("ttyUSB0 open error\n");
		return 0;
	}
	printf("fd=%d\n",fd);
	close(fd);
}
